import request from '@/utils/request'
import { AxiosPromise } from 'axios'

/**
 * 项目计划消息发送API
 */

/**
 * 发送消息给项目负责人
 * @param proId 项目ID
 * @returns 发送结果
 */
export const sendMessageToProjectLeaders = (proId: number): AxiosPromise<any> => {
  return request({
    url: '/pro/plan/sendMessage',
    method: 'post',
    params: { proId }
  })
}
